Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible 11 (ansible-core 2.18) #1177

Merged
merged 1 commit into from
Dec 2, 2024
Merged

Conversation

moreati
Copy link
Member

@moreati moreati commented Nov 4, 2024

fixes #1129

@moreati moreati force-pushed the issue1129 branch 2 times, most recently from 8332972 to ab385e7 Compare November 4, 2024 23:02
@moreati moreati mentioned this pull request Nov 4, 2024
3 tasks
@moreati moreati force-pushed the issue1129 branch 3 times, most recently from 1c39675 to bc39dba Compare November 25, 2024 07:38
@moreati
Copy link
Member Author

moreati commented Nov 25, 2024

This may be running into python/cpython#116131. Ansible 11.0 (ansible-core 2.18) added python3.13 to the default INTERPRETER_PYTHON_FALLBACK list, and the following test failure is occuring on macOS

PLAY [integration/action/make_tmp_path.yml] ************************************

...

TASK [Try writing to temp directory for the readonly_homedir user script=from ansible.module_utils.basic import get_module_path
path = get_module_path() + '/foo.txt'
result['path'] = path
open(path, 'w').write("bar")
] ***
Monday 25 November 2024  07:41:21 +0000 (0:00:00.058)       0:00:53.234 ******* 
fatal: [target]: FAILED! => 
  msg: |-
    error occurred on host Mac-1732518946956.local: EOF on stream; last 100 lines received:
    Traceback (most recent call last):
      File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
      File "<frozen importlib._bootstrap>", line 1322, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 1262, in _find_spec
      File "<frozen importlib._bootstrap_external>", line 1555, in find_spec
      File "<frozen importlib._bootstrap_external>", line 1527, in _get_spec
      File "<frozen importlib._bootstrap_external>", line 1506, in _path_importer_cache
    PermissionError: [Errno 13] Permission denied

@moreati moreati force-pushed the issue1129 branch 2 times, most recently from b2840a4 to 0b99169 Compare December 2, 2024 10:46
@moreati moreati marked this pull request as ready for review December 2, 2024 11:04
@moreati moreati merged commit d68368e into mitogen-hq:master Dec 2, 2024
22 checks passed
@moreati moreati deleted the issue1129 branch December 2, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ansible 11 (ansible-core 2.18) support
1 participant